<template>
	<view class="my-wrap">
		<button open-type="share" type="primary" size="mini">分享给好友</button>
		<button type="primary" size="mini" plain="true" @click="reset">重置小程序</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			reset() {
				uni.reLaunch({
					url: '/pages/index/index'
				});
			}
		}
	}
</script>

<style lang="scss">
	.my-wrap{
		padding: 50px 0px;
		display: flex;
	}
</style>